module.exports = {
  entry: "./src/ts.chart.js",
  output: {
    filename: "index.js",
    path: __dirname
  },
  module: {
    loaders: [
      {
        test: /js$/,
        exclude: /node_modules/,
        loader: "babel?presets[]=es2015"
      }
    ]
  }
}